package org.tony.spider.zhulang;

import org.tony.spider.book.BookFrom;
import org.tony.spider.book.Book;
import org.tony.spider.common.QueryBookCatalogue;

public class ZhulangBookCatalogueQuery extends QueryBookCatalogue
{

  public ZhulangBookCatalogueQuery(String[] selectLabels)
  {
    super(selectLabels);
  }

  public static void main(String[] args)
  {
    Book book = new Book();
    book.setBookHomePage("http://book.zhulang.com/173101/");
    book.setBookName("狂枭");
    book.setFrom(BookFrom.zhulang);
    QueryBookCatalogue query = new ZhulangBookCatalogueQuery(new String[] { "div.bookdetail", "a[href]" });
    query.query(book);
  }

  @Override
  protected void initExtraInfo()
  {
    // TODO Auto-generated method stub

  }
}
